#ifndef __rendstyl_h__
#define __rendstyl_h__

/* Forward Declarations */

struct ENUMDESC;

/* header files for imported files */
#include "types.h"

/* header files for imported files */
#include "style.h"

#ifndef __IHTMLRenderStyle_FWD_DEFINED__
#define __IHTMLRenderStyle_FWD_DEFINED__
typedef interface IHTMLRenderStyle IHTMLRenderStyle;
#endif     /* __IHTMLRenderStyle_FWD_DEFINED__ */
typedef enum _styleTextLineThroughStyle
{
    styleTextLineThroughStyleUndefined = 0,
    styleTextLineThroughStyleSingle = 1,
    styleTextLineThroughStyleDouble = 2,
    styleTextLineThroughStyle_Max = 2147483647L
} styleTextLineThroughStyle;


EXTERN_C const ENUMDESC s_enumdescstyleTextLineThroughStyle;

typedef enum _styleTextUnderlineStyle
{
    styleTextUnderlineStyleUndefined = 0,
    styleTextUnderlineStyleSingle = 1,
    styleTextUnderlineStyleDouble = 2,
    styleTextUnderlineStyleWords = 3,
    styleTextUnderlineStyleDotted = 4,
    styleTextUnderlineStyleThick = 5,
    styleTextUnderlineStyleDash = 6,
    styleTextUnderlineStyleDotDash = 7,
    styleTextUnderlineStyleDotDotDash = 8,
    styleTextUnderlineStyleWave = 9,
    styleTextUnderlineStyleSingleAccounting = 10,
    styleTextUnderlineStyleDoubleAccounting = 11,
    styleTextUnderlineStyleThickDash = 12,
    styleTextUnderlineStyle_Max = 2147483647L
} styleTextUnderlineStyle;


EXTERN_C const ENUMDESC s_enumdescstyleTextUnderlineStyle;

typedef enum _styleTextEffect
{
    styleTextEffectNone = 0,
    styleTextEffectEmboss = 1,
    styleTextEffectEngrave = 2,
    styleTextEffectOutline = 3,
    styleTextEffect_Max = 2147483647L
} styleTextEffect;


EXTERN_C const ENUMDESC s_enumdescstyleTextEffect;

typedef enum _styleDefaultTextSelection
{
    styleDefaultTextSelectionFalse = 0,
    styleDefaultTextSelectionTrue = 1,
    styleDefaultTextSelection_Max = 2147483647L
} styleDefaultTextSelection;


EXTERN_C const ENUMDESC s_enumdescstyleDefaultTextSelection;

typedef enum _styleTextDecoration
{
    styleTextDecorationNone = 0,
    styleTextDecorationUnderline = 1,
    styleTextDecorationOverline = 2,
    styleTextDecorationLineThrough = 3,
    styleTextDecorationBlink = 4,
    styleTextDecoration_Max = 2147483647L
} styleTextDecoration;


EXTERN_C const ENUMDESC s_enumdescstyleTextDecoration;


#ifndef __IHTMLRenderStyle_INTERFACE_DEFINED__

#define __IHTMLRenderStyle_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLRenderStyle;


MIDL_INTERFACE("3050f6ae-98b5-11cf-bb82-00aa00bdce0b")
IHTMLRenderStyle : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE put_textLineThroughStyle(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_textLineThroughStyle(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_textUnderlineStyle(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_textUnderlineStyle(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_textEffect(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_textEffect(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_textColor(
         /* [in] */ VARIANT v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_textColor(
         /* [out] */ VARIANT * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_textBackgroundColor(
         /* [in] */ VARIANT v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_textBackgroundColor(
         /* [out] */ VARIANT * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_textDecorationColor(
         /* [in] */ VARIANT v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_textDecorationColor(
         /* [out] */ VARIANT * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_renderingPriority(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_renderingPriority(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_defaultTextSelection(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_defaultTextSelection(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_textDecoration(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_textDecoration(
         /* [out] */ BSTR * p) = 0;

};

#endif     /* __IHTMLRenderStyle_INTERFACE_DEFINED__ */



EXTERN_C const GUID GUID_HTMLRenderStyle;



EXTERN_C const GUID DIID_DispHTMLRenderStyle;


#ifndef _CRenderStyle_PROPDESCS_
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCRenderStyletextLineThroughStyle;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCRenderStyletextUnderlineStyle;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCRenderStyletextEffect;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCRenderStyletextColor;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCRenderStyletextBackgroundColor;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCRenderStyletextDecorationColor;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCRenderStylerenderingPriority;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCRenderStyledefaultTextSelection;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCRenderStyletextDecoration;

#endif


#endif /*__rendstyl_h__*/

